package main

import (
	"flag"
	"websocket/client"
	"websocket/server"
)

func main() {
	var clientType string

	flag.StringVar(&clientType,"type","client","默认客户端")
	flag.Parse()

	if clientType == "client"{
		client.Start()
	}else {
		server.Start()
	}
}